package method;

import com.beust.jcommander.internal.Nullable;
import org.testng.annotations.Test;

/**
 *
 */
public class Method1 {

    public static void main(String[] args) {

        testNullParam(null, 0);

    }

    @Test(description = "测试不使用@nullAble传入空参数")
    private void t1() {

        testNullParam(null, 9);
    }


    private static void testNullParam(@Nullable String p1, int p2) {

        System.out.println(p1 + "，" + p2);
    }

}
